#include "pch.h"
#include "CPoint2D.h"

CPoint2D::CPoint2D()
{
	x = 0.0;
	y = 0.0;
	w = 1.0;
}

CPoint2D::CPoint2D(CPoint point)
{
	x = double(point.x);
	y = double(point.y);

	w = 1.0;
}

CPoint2D::~CPoint2D()
{
}

void CPoint2D::operator=(CPoint2D & point)
{
	x = point.x;
	y = point.y;
	w = point.w;
}
